package com.aaa.hospital.mapper;


import com.aaa.hospital.pojo.domain.*;
import com.aaa.hospital.pojo.query.DoctorQuery;
import com.aaa.hospital.pojo.vo.DoctorVO;

import java.util.List;

/**
 * @author ZQ on 2022/1/9
 */
public interface DoctorMapper {
    List<Emp> doctorsList();
    // 医生分页查询
    List<Emp> doctorsQuery(DoctorQuery doctorQuery);
    // 医生分页总数
    long queryDoctrsTotal(DoctorQuery doctorQuery);

    List<Kes> getKes();

    List<Post> getPost();

    List<Role> getRole();

    int addDoctor(DoctorVO doctorVO);

    int deleteDoctor(Integer id);

    DoctorVO getDoctor(Integer id);

    int updateDoctor(DoctorVO doctorVO);

    List<Emp> doctorResume(Integer id);


    int listTelephone(String telephone);

    int getTelePhone(String telephone);

    int addshift(String daydate,int id);
}